package com.unitedvision.persistence.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.unitedvision.core.domain.Status;
import com.unitedvision.persistence.domain.CompanyEntity;
import com.unitedvision.persistence.domain.CustomerEntity;

public interface CompanyRepository extends JpaRepository<CompanyEntity, Integer> {
	CompanyEntity findByCustomer(CustomerEntity customerEntity);
	List<CompanyEntity> findByStatus(Status status);
}
